<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>Layui</title>
    <link rel="stylesheet" href="js/layui/css/layui.css" media="all">
    <script src="js/layui/layui.all.js" charset="utf-8"></script>
    <script src="js/jquery/jquery-1.11.3.js" charset="utf-8"></script>
	<script>
		var data = $.ajax({
			url: "http://localhost/demo/index",
			async: false
		})
		console.log(data)
	</script>
</head>

<body>


</body>

</html>